package com.qiall.boot.util;

import com.qiall.SystemUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
public class UtilApplication {

    public static void main(String[] args) {
        if(SystemUtil.isWindows()){
            System.setProperty("FREE_MARK_DATA_DIR","D:\\data\\programData\\");
        }
        else {
            System.setProperty("FREE_MARK_DATA_DIR","/home/data/freeMarkData/");
        }
        SpringApplication.run(UtilApplication.class, args);
    }

}
